-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Riak 2.0. Ability to use special indices $bucket, $key. Ability to provide max_results and continuation in db.query and get continuation back. #187
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…results and continuation params
add the indices to meta.index on get as they are defined when setting them via ```meta.index = { foo: 1, bar: "baz" }``` on save. FIXES mostlyserious#183
… of Object[Object], because buffer is often looks like: { phase: 0 error: "[{<<"lineno">>,466},{<<"message">>,<<"SyntaxError: syntax error">>},{<<"source">... (length: 92)" input: "{ok,{r_object,<<"users">>,<<"b1f0e0b64f8143a6a45977db8e29ff89">>,[{r_content,{di... (length: 515)" }
either we use asi or we don't mixing is bad
Since just dumping data in Riak without ever cleaning up is not nice I added a cleanup for all writen keys in the tests. This should also make sure that we don't have dependend tests Also commeted out search tests relying in pre solar functionaliy
this should only return the keys added (4) since we clean the bucket between tests
environment is set on Travis
only expect keys this tests explicitly saves
otherwise riak.conf will be ignored due to a present app.config
locally 1 sec is more than enough wait for indexes to propagate but on travis this seems to not be the case let's see...
Riak 2.0 basic support
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#180
basic tests included